|
tempprobe 2.2.0
|
This file contains API for Temp Probe Click Driver. More...
#include "drv_digital_out.h"#include "drv_digital_in.h"#include "drv_spi_master.h"#include "spi_specifics.h"Go to the source code of this file.
Data Structures | |
| struct | tempprobe_t |
| Temp Probe Click context object. More... | |
| struct | tempprobe_cfg_t |
| Temp Probe Click configuration object. More... | |
Enumerations | |
| enum | tempprobe_return_value_t { TEMPPROBE_OK = 0 , TEMPPROBE_ERROR = -1 } |
| Temp Probe Click return value data. More... | |
Functions | |
| void | tempprobe_cfg_setup (tempprobe_cfg_t *cfg) |
| Temp Probe configuration object setup function. | |
| err_t | tempprobe_init (tempprobe_t *ctx, tempprobe_cfg_t *cfg) |
| Temp Probe initialization function. | |
| err_t | tempprobe_default_cfg (tempprobe_t *ctx) |
| Temp Probe default configuration function. | |
| err_t | tempprobe_write_byte (tempprobe_t *ctx, uint16_t reg_addr, uint8_t data_in) |
| Byte Write function. | |
| err_t | tempprobe_write_dword (tempprobe_t *ctx, uint16_t reg_addr, uint32_t data_in) |
| Word Write function. | |
| err_t | tempprobe_read_bytes (tempprobe_t *ctx, uint16_t reg_addr, uint8_t *data_out, uint8_t n_bytes) |
| Byte Read function. | |
| err_t | tempprobe_read_dword (tempprobe_t *ctx, uint16_t reg_addr, uint32_t *data_out) |
| Word Read function. | |
| uint8_t | tempprobe_check_busy (tempprobe_t *ctx) |
| Busy Check function. | |
| void | tempprobe_reset (tempprobe_t *ctx) |
| Reset function. | |
| uint8_t | tempprobe_write_eeprom_data (tempprobe_t *ctx) |
| EEPROM Write function. | |
| uint8_t | tempprobe_read_eeprom_data (tempprobe_t *ctx) |
| EEPROM Read function. | |
| uint8_t | tempprobe_read_temp (tempprobe_t *ctx, uint16_t sel_channel, float *data_out) |
| Temperature Read function. | |
This file contains API for Temp Probe Click Driver.